package com.xinsilu.hospital.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("drug_record_table")
@ApiModel(value="DrugrecordTasble对象", description="")
public class DrugrecordTasble implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "药品id")
    @TableField("drug_name")
    private Integer drugname;

    @ApiModelProperty(value = "批号（根据id获取")
    @TableField("Batch_number")
    private Integer batchnumber;

    @ApiModelProperty(value = "操作时间")
    @TableField("Operation_time")
    private String operationtime;

    @ApiModelProperty(value = "操作类型")
    @TableField("Operation_type")
    private String operationtype;

    @ApiModelProperty(value = "经办人")
    private String handler;

    @ApiModelProperty(value = "数量")
    private int  number  ;
}
